All Questions
3 questions
1vote
2answers
2kviews
How may I watch for the creation of a particular "trigger file"?
I need to create a shell script that executes an application when a file called start is created in a particular directory. How may I write a shell script that waits for the creation of a file with a ...
92votes
1answer
12kviews
Why does the following bash script delete itself?
If you create an executable file with the following contents, and run it, it will delete itself. How does this work? #!/bin/rm
0votes
5answers
4kviews
On executable files in Linux [closed]
It is said that in linux, unlike Windows, there's not a clear border between executables and other files. Well, in Windows, I write a C++ program, then it is precompiled, compiled and then linked to ...